package pojo;

public class WorkMess {
    private int id;
    private int pId;
    private String executor;
    private String description;
    private int orderLevel;
    private String createDate;
    private String pName;

    @Override
    public String toString() {
        return "WorkMess{" +
                "id=" + id +
                ", pId=" + pId +
                ", executor='" + executor + '\'' +
                ", description='" + description + '\'' +
                ", orderLevel=" + orderLevel +
                ", createDate='" + createDate + '\'' +
                ", pName='" + pName + '\'' +
                '}';
    }

    public WorkMess(int id, int pId, String executor, String description, int orderLevel, String createDate, String pName) {
        this.id = id;
        this.pId = pId;
        this.executor = executor;
        this.description = description;
        this.orderLevel = orderLevel;
        this.createDate = createDate;
        this.pName = pName;
    }

    public WorkMess() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    public String getExecutor() {
        return executor;
    }

    public void setExecutor(String executor) {
        this.executor = executor;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getOrderLevel() {
        return orderLevel;
    }

    public void setOrderLevel(int orderLevel) {
        this.orderLevel = orderLevel;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }
}
